# -*- mode: snippet -*-
# name: search
# key: srh
# --
auto pos = std::search(std::begin(${1:container}), std::end($1),
  std::begin($2), std::end($3));
if (pos != std::end($1)) {
  $4
}
$0
